package com.heisenhub.api.logsapi.service;

import com.heisenhub.logs.common.dto.LogsRecordsDto;
import com.heisnenhub.common.module.entity.SystemUser;
import com.heisnenhub.common.module.utils.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author sen
 * @description
 * @date 2023/12/18 17:22
 */
@FeignClient(value = "logs", contextId = "logClient")
public interface LogsRecordsService {


    /**
     *  获取登入的用户
     * @param logsRecordsDto
     * @return
     */
    @PostMapping("/log/save")
    Api save(@RequestBody LogsRecordsDto logsRecordsDto);

}
